Pocketbase Kotlin
Toggle table of contents
common
Platform filter
common
Switch theme
Search in API
Pocketbase Kotlin
Pocketbase Kotlin
/
io.github.agrevster.pocketbaseKotlin.services
/
CronsService
Crons
Service
class
CronsService
(
val
client
:
PocketbaseClient
)
:
BaseService
Members
Constructors
Crons
Service
Link copied to clipboard
constructor
(
client
:
PocketbaseClient
)
Properties
client
Link copied to clipboard
val
client
:
PocketbaseClient
Functions
list
Link copied to clipboard
suspend
fun
list
(
fields
:
ShowFields
=
ShowFields()
)
:
List
<
CronJob
>
Returns list with all registered app level cron jobs.
run
Link copied to clipboard
suspend
fun
run
(
jobId
:
String
)
Triggers a single cron job by its id.